<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/particle_dynamics/relax_dynamics/relax_dynamics.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_05f659066ce4fa1dc9c19bd298f55a53.html">particle_dynamics</a></li><li class="navelem"><a class="el" href="dir_523da3aec68e59a418cce3f276a301ba.html">relax_dynamics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">relax_dynamics.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This is the classes of particle relaxation in order to produce body fitted initial particle distribution. <br />
  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;math.h&quot;</code><br />
<code>#include &quot;all_particle_dynamics.h&quot;</code><br />
<code>#include &quot;<a class="el" href="neighbor__relation_8h_source.html">neighbor_relation.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="base__kernel_8h_source.html">base_kernel.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mesh__cell__linked__list_8h_source.html">mesh_cell_linked_list.h</a>&quot;</code><br />
</div>
<p><a href="relax__dynamics_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_get_time_step_size.html">SPH::relax_dynamics::GetTimeStepSize</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">relaxation dynamics for particle initialization computing time step size  <a href="class_s_p_h_1_1relax__dynamics_1_1_get_time_step_size.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_physics_relaxation_inner.html">SPH::relax_dynamics::PhysicsRelaxationInner</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">simple algorithm for physics relaxation without considering contact interaction. this is usually used for solid like bodies  <a href="class_s_p_h_1_1relax__dynamics_1_1_physics_relaxation_inner.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_physics_relaxation_complex.html">SPH::relax_dynamics::PhysicsRelaxationComplex</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">position verlet algorithm for physics relaxation with considering contact interaction this is usually used for fluid like bodies  <a href="class_s_p_h_1_1relax__dynamics_1_1_physics_relaxation_complex.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_body_surface_bounding.html">SPH::relax_dynamics::BodySurfaceBounding</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">constrain surface particles by map contrained particles to geometry face and r = r + phi * norm (vector distance to face)  <a href="class_s_p_h_1_1relax__dynamics_1_1_body_surface_bounding.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_constraint_surface_particles.html">SPH::relax_dynamics::ConstraintSurfaceParticles</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">constrain surface particles by map contrained particles to geometry face and r = r + phi * norm (vector distance to face)  <a href="class_s_p_h_1_1relax__dynamics_1_1_constraint_surface_particles.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1compute_number_density_by_summation.html">SPH::relax_dynamics::computeNumberDensityBySummation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the particle number density by summation.  <a href="class_s_p_h_1_1relax__dynamics_1_1compute_number_density_by_summation.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1get_averaged_particle_number_density.html">SPH::relax_dynamics::getAveragedParticleNumberDensity</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Everaged Particle Number Density.  <a href="class_s_p_h_1_1relax__dynamics_1_1get_averaged_particle_number_density.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1relax__dynamics_1_1_finalizing_particle_relaxation.html">SPH::relax_dynamics::FinalizingParticleRelaxation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">update the number density after relaxation.  <a href="class_s_p_h_1_1relax__dynamics_1_1_finalizing_particle_relaxation.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_s_p_h"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_p_h.html">SPH</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ada79045f0072e406eb594e796ebeb5e6"><td class="memTemplParams" colspan="2"><a id="ada79045f0072e406eb594e796ebeb5e6"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:ada79045f0072e406eb594e796ebeb5e6"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsSimple</b> = ParticleDynamicsSimple&lt; SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:ada79045f0072e406eb594e796ebeb5e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb584335d8b17639c0583f0c154b6a35"><td class="memTemplParams" colspan="2"><a id="acb584335d8b17639c0583f0c154b6a35"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:acb584335d8b17639c0583f0c154b6a35"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsMin</b> = ParticleDynamicsReduce&lt; <a class="el" href="class_real.html">Real</a>, ReduceMin, SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:acb584335d8b17639c0583f0c154b6a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86061afd8ad4589905e2590f146233e1"><td class="memTemplParams" colspan="2"><a id="a86061afd8ad4589905e2590f146233e1"></a>
template&lt;class ReturnType , class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a86061afd8ad4589905e2590f146233e1"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsSum</b> = ParticleDynamicsReduce&lt; ReturnType, ReduceSum&lt; ReturnType &gt;, SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:a86061afd8ad4589905e2590f146233e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29f7cdfd78fdc053edcf6dc035ff6179"><td class="memTemplParams" colspan="2"><a id="a29f7cdfd78fdc053edcf6dc035ff6179"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a29f7cdfd78fdc053edcf6dc035ff6179"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsInner1Level</b> = ParticleDynamicsInner1Level&lt; SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:a29f7cdfd78fdc053edcf6dc035ff6179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02f4c3e859e73fc720a82e8d01f1e608"><td class="memTemplParams" colspan="2"><a id="a02f4c3e859e73fc720a82e8d01f1e608"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a02f4c3e859e73fc720a82e8d01f1e608"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsInner</b> = ParticleDynamicsInner&lt; SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:a02f4c3e859e73fc720a82e8d01f1e608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6af90b7b32748eb649ca1b7291ba4f62"><td class="memTemplParams" colspan="2"><a id="a6af90b7b32748eb649ca1b7291ba4f62"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a6af90b7b32748eb649ca1b7291ba4f62"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxSurfaceConstraint</b> = PartDynamicsByParticle&lt; SPHBody, ParticlesType, BodySurface &gt;</td></tr>
<tr class="separator:a6af90b7b32748eb649ca1b7291ba4f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1065f23ae81d70a303f334b30864aa9e"><td class="memTemplParams" colspan="2"><a id="a1065f23ae81d70a303f334b30864aa9e"></a>
template&lt;class ParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a1065f23ae81d70a303f334b30864aa9e"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxConstraintByCell</b> = PartDynamicsByCell&lt; SPHBody, ParticlesType, NearBodySurface &gt;</td></tr>
<tr class="separator:a1065f23ae81d70a303f334b30864aa9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65e3fe8aa13f2f4eb3b9a07aaf5a43b"><td class="memTemplParams" colspan="2"><a id="ac65e3fe8aa13f2f4eb3b9a07aaf5a43b"></a>
template&lt;class ParticlesType  = BaseParticles, class ContactParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:ac65e3fe8aa13f2f4eb3b9a07aaf5a43b"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsComplex</b> = ParticleDynamicsComplex&lt; SPHBody, ParticlesType, BaseMaterial, SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:ac65e3fe8aa13f2f4eb3b9a07aaf5a43b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31e2bf79b329d6b8f04c8ff4a6089af7"><td class="memTemplParams" colspan="2"><a id="a31e2bf79b329d6b8f04c8ff4a6089af7"></a>
template&lt;class ParticlesType  = BaseParticles, class ContactParticlesType  = BaseParticles&gt; </td></tr>
<tr class="memitem:a31e2bf79b329d6b8f04c8ff4a6089af7"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SPH::relax_dynamics::RelaxDynamicsComplex1Level</b> = ParticleDynamicsComplex1Level&lt; SPHBody, ParticlesType, BaseMaterial, SPHBody, ParticlesType &gt;</td></tr>
<tr class="separator:a31e2bf79b329d6b8f04c8ff4a6089af7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This is the classes of particle relaxation in order to produce body fitted initial particle distribution. <br />
 </p>
<dl class="section author"><dt>Author</dt><dd>Chi ZHang and Xiangyu Hu </dd></dl>
<dl class="section version"><dt>Version</dt><dd>0.1 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
